<template>
  <el-card>
    <div class="dashboard-editor-container">
      <div class="clearfix">
        <img style="float: left;width: 150px;height: 150px;border-radius: 50%;" :src="user.avatar" alt="">
        <div class="info-container">
          <span class="display_name">{{ user.name }}</span>
          <span style="font-size:20px;padding-top:20px;display:inline-block;">欢迎使用本系统，现在开始您的工作吧......</span>
        </div>
      </div>
    </div>
  </el-card>
</template>

<script lang="ts" setup>
import { reactive, ref, toRefs, computed, PropType, watch, onMounted } from 'vue';
import { useAppStore } from '@/store/modules/app';
import { useSettingStore } from '@/store/modules/setting';
import { useUserStore } from '@/store/modules/user';
const settingStore = useSettingStore();
const userStore = useUserStore();
const appStore = useAppStore();
const user = computed(() => {
    return userStore.info;
})
</script>
<style scoped lang="scss">
  .dashboard-editor-container {
    padding: 50px 60px 0px;
    .pan-info-roles {
      font-size: 12px;
      font-weight: 700;
      color: #333;
      display: block;
    }
    .info-container {
      position: relative;
      margin-left: 190px;
      height: 150px;
      line-height: 200px;
      .display_name {
        font-size: 48px;
        line-height: 48px;
        position: absolute;
        top: 25px;
      }
    }
  }
</style>